/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.sgsmcan.Dao;

import com.sgsmcan.Entidad.Sereno;
import java.util.List;
import org.hibernate.criterion.DetachedCriteria;

/**
 *
 * @author David
 */
public interface SerenoDao<T> extends DaoGenerico<T> {

    public DetachedCriteria getSerenos();
    public Sereno getSereno(Integer id);
    public boolean existeDni(String dni, boolean update);
    
    public List<Sereno> autocompletar(String parametro);
    public List<String> autoComplete(String parametro);
    public Integer getSerenoId(String parametro);
    
    public Sereno getSereno(String parameter);
}
